import pygame
from common import *

__background = None

class Background(pygame.sprite.Sprite):
    groups = []
    image = None
    def __init__(self):
        pygame.sprite.Sprite.__init__(self, self.groups)
        self.rect = self.image.get_rect()
        
        
def init_background():
    global __background
    Background.image = load_image('background.png')
    __background = Background()
        
def get_background():
    return __background